package com.youlemall.mapper;

import com.youlemall.pojo.Specification;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * SpecificationMapper 数据访问接口
 * @date 2019-07-12 21:31:32
 * @version 1.0
 */
public interface SpecificationMapper extends Mapper<Specification>{


	List<Specification> findByspecName(Specification specification);

	@Select("select id,spec_name as text from tb_specification order by id asc")
	List<Map<String, Object>> findSpeNameAndId();
}